package com.gxa.pojo.staff;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.print.attribute.standard.DateTimeAtCompleted;
import java.util.Date;
import java.sql.Time;

//员工实体类
public class UserStaff {
    private int staff_id;
    private String name;
    private String rfid;
    private String idcard;
    private String phonenumber;
    private Date entrytime;
    private String pwd;
    private Date borntime;
    private int work_status;
    private String sex;
    private int level;
    private String photo;

    public UserStaff() {
    }


    public int getStaff_id() {
        return staff_id;
    }

    public void setStaff_id(int staff_id) {
        this.staff_id = staff_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRfid() {
        return rfid;
    }

    public void setRfid(String rfid) {
        this.rfid = rfid;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public Date getEntrytime() {
        return entrytime;
    }

    public void setEntrytime(Date entrytime) {
        this.entrytime = entrytime;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Date getBorntime() {
        return borntime;
    }

    public void setBorntime(Date borntime) {
        this.borntime = borntime;
    }

    public int getWork_status() {
        return work_status;
    }

    public void setWork_status(int work_status) {
        this.work_status = work_status;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    @Override
    public String toString() {
        return "UserStaff{" +
                "staff_id=" + staff_id +
                ", name='" + name + '\'' +
                ", rfid='" + rfid + '\'' +
                ", idcard='" + idcard + '\'' +
                ", phonenumber='" + phonenumber + '\'' +
                ", entrytime=" + entrytime +
                ", pwd='" + pwd + '\'' +
                ", borntime=" + borntime +
                ", work_status=" + work_status +
                ", sex='" + sex + '\'' +
                ", level=" + level +
                ", photo='" + photo + '\'' +
                '}';
    }
}
